<template>
  <div>
    <van-grid :border="false" :column-num="3">
        <van-grid-item v-for="item in goods" :key="item.goods_id" @click="$router.push(`/prodetail?id=${item.goods_id}`)">
            <van-image :src="item.goods_image" />
            <!-- <div class="title">item.</div> -->
        </van-grid-item>

    </van-grid>

  </div>
</template>

<script>
export default {
  props: {
    goods: Array
  }
}
</script>

<style>
.title{
    font-size: 13px;
}
</style>
